<script type="text/javascript">
 function SendForm(e)
 {
        tecla = (document.all) ? e.keyCode : e.which;
        if (tecla==13) document.login.submit();
 }
</script>

<?php if(!empty($this->message)) :?>
<div id="message">
<?php echo $this->message;?>
</div>
<?php endif; ?>
<div align="center">
<form id="login" name="login" action="" method="post">
<table width="300" border=0 >
   <tr>
       <td valign="top" align="center" colspan="2" width="300">
       <p style="font-size:20px ;"><strong>Identifiquese</strong></p><br/>
       <p><img src="<?php echo $this->baseUrl; ?>/images/login_img.png" alt="" width="146" height="114" />    </p>
       <br/><br/>
       </td>
   </tr>
   <tr>
       <td valign="top" align="right" width="100">
           <label for="username" class="textdato">Username: </label>
       </td>
       <td valign="top" align="left" width="100">
           <input type="text" id="username" name="username" value=""/><br/><br/>
      </td>
   </tr>
   <tr>
      <td valign="top" align="right" width="100">
          <label for="password" class="textdato">Password: </label>
      </td>
      <td valign="top" align="left" width="100" >
          <input type="password" name="password" value="" onkeyup="return SendForm(event)"/>
      </td>
   </tr>
   <tr>
      <td valign="top" align="center" colspan="2" width="200">
   <br/>
   <br/>
   <a style="cursor:pointer" onClick="javascript:document.login.submit()">
       <img src="<?php echo $this->baseUrl; ?>/images/login.jpg" tabindex=3 border="0" alt="Ingresar">
    </a>
     </td>
   </tr>
</table>

</form>
</div>